home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / telecomm / sticpsrc.lzh / SOURCE.ARC / PKVEC.ASM < prev    next >
Assembly Source File  |  1989-08-09  |  409b  |  41 lines

  1.     name pkvec
  2.     include pmacros.h
  3.  
  4.     extproc    pkint
  5.  
  6. ; pkvec - Packet driver receive call handler
  7.  
  8.     pubproc    pkvec
  9.  
  10.     ; save regs, making them available to pkint()
  11.     push    es
  12.     push    ds
  13.     push    ax
  14.     push    bx
  15.     push    cx
  16.     push    dx
  17.     push    bp
  18.     push    si
  19.     push    di
  20.  
  21.     getds
  22.     mov    ds,ax
  23.  
  24.     call    pkint@
  25.  
  26.     pop    di
  27.     pop    si
  28.     pop    bp
  29.     pop    dx
  30.     pop    cx
  31.     pop    bx
  32.     pop    ax
  33.     pop    ds
  34.     pop    es
  35.  
  36.     ret
  37.  
  38.     pend    pkvec
  39.  
  40.     end
  41.